import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/Home.vue"),
  },
  {
    path: "/node",
    name: "node",
    component: () => import("../views/Node.vue"),
  },
  {
    path: "/date",
    name: "date",
    component: () => import("../views/Date.vue"),
  },
  {
    path: "/bill",
    name: "bill",
    component: () => import("../views/Bill.vue"),
  },
  {
    path: "/rember",
    name: "rember",
    component: () => import("../views/Rember.vue"),
  },
  {
    path: "/refresh",
    name: "refresh",
    component: () => import("../components/refresh.vue"),
  }
];

const router = new VueRouter({
  mode:'hash',
  routes,
});

export default router;
